﻿@inject IDataCacheService _dataCatcheService


<div class="rounded  shadow-sm bg-opacity mb-4">
    @((MarkupString)Model.MainPage)
</div>



@code {

    public ArticleViewModel Model { get; set; } = new ArticleViewModel();

    protected override async Task OnInitializedAsync()
    {
        try
        {
            Model = await _dataCatcheService.ArticleIndexPageCatche.GetCache("1303");
        }
        catch (Exception exc)
        {
        }

    }

}
